$OpenBSD: patch-config_mk,v 1.2 2014/10/01 06:42:36 ajacoutot Exp $

Drop -DGTK_DISABLE_DEPRECATED to build with gtk>=3.14.

--- config.mk.orig	Fri Mar  7 12:39:43 2014
+++ config.mk	Wed Oct  1 08:34:55 2014
@@ -146,12 +146,10 @@ BASE_SCRIPT=base.js
 CFLAGS := $(CFLAGS)
 CFLAGS += -Wall 
 CFLAGS += -Werror=format-security 
-CFLAGS += -pipe
-CFLAGS += --ansi
+CFLAGS += -Wno-variadic-macros
+CFLAGS += -ansi
 CFLAGS += -std=c99
 CFLAGS += -D_POSIX_C_SOURCE='200112L'
-CFLAGS += -O2
-CFLAGS += -g
 CFLAGS += -D_BSD_SOURCE
 CFLAGS += -D_NETBSD_SOURCE
 CFLAGS += -D__BSD_VISIBLE
@@ -159,21 +157,21 @@ CFLAGS += -D__BSD_VISIBLE
 CFLAGS += $(shell pkg-config --cflags $(LIBS))
 
 ifeq ($(shell pkg-config --exists '$(LIBSOUP) >= 2.38' && echo 1), 1)
-M4FLAGS += -DWITH_LIBSOUP_2_38=1 -G
+M4FLAGS += -DWITH_LIBSOUP_2_38=1
 CFLAGS += -DWITH_LIBSOUP_2_38=1
 endif
 
 ifeq (${DISABLE_HSTS}, 1)
 CFLAGS += -DDISABLE_HSTS
 else 
-M4FLAGS += -DWITH_HSTS=1 -G 
+M4FLAGS += -DWITH_HSTS=1 
 endif
 
 CFLAGS_OPTIONS := $(CFLAGS)
 
 ifeq (${USEGTK3}, 1) 
 CPPFLAGS+=-DGTK_DISABLE_SINGLE_INCLUDES
-CPPFLAGS+=-DGTK_DISABLE_DEPRECATED
+#CPPFLAGS+=-DGTK_DISABLE_DEPRECATED
 CPPFLAGS+=-DGDK_DISABLE_DEPRECATED
 CPPFLAGS+=-DGSEAL_ENABLE
 M4FLAGS += -DWITH_GTK3=1
